<div id="header" class="l-f l-f-middle">
    <div id="headerLeft"><i class="iconfont">&#xf602;</i></div>
    <div id="headerTitle" class="l-f-g1 t-center">123</div>
    <div id="headerRight"></div>
    <script>
        $('#headerLeft i').on('click', function(){
            history.back();
        });
    </script>
</div>

<div id="bodyer">
    <div id="insideAd">
        <a href="#"><img src="<?=$adModel->img_path;?>" alt=""/></a>
    </div>
    <div id="sad">
        <div class="tips t-center">供求信息发布联系热线：400-123-1234 <br/>（早8:00-晚6:00）</div>
        <div class="tabTitle l-f t-center">
            <div class="l-f-g1">
                <a href="<?=\yii\helpers\Url::to(['/home/info' , 'type' => 1])?>" class="<?= $model->type == 1 ? 'current' : ''?>">供货信息</a>
            </div>
            <div class="space"></div>
            <div class="l-f-g1">
                <a href="<?=\yii\helpers\Url::to(['/home/info' , 'type' => 2])?>" class="<?= $model->type == 2 ? 'current' : ''?>">求购信息</a>
            </div>
        </div>
        <div class="title t-center">
            <?=$model->title;?>
        </div>
        <div class="page">
            <?=$model->content;?>
        </div>
        <div class="next l-f l-f-middle t-center">
            <div class="l-f-g1">
                <a href="#">&lt;&lt; 返回</a>
            </div>
            <div class="space"></div>
            <div class="l-f-g1">
                <a href="<?=\yii\helpers\Url::to(['/home/content' , 'type' => 1 ,'act' => 'next' , 'sid' => $model->id])?>">下一篇 &gt;&gt;</a>
            </div>
        </div>
    </div>
</div>

<?=$this->render('_foot');?>